<?php
/* 
 * 房租视图
 */

/**
 * 房间可用时间视图
 *
 * @author 红雨
 */
class Room_availableViewModel extends ViewModel {
    public $viewFields = array(
            'Room_available'=>array('*'),
            'Room'=>array('house_id','room_no','sort'=>'room_sort', '_on'=>'Room_available.room_id=Room.id'),
            'House'=>array('hotel_id','name'=>"house_name",'sort'=>'house_sort', '_on'=>'Room.house_id=House.id'),
    );
    
}
?>
